package com.fuershiye.woman.monitor.service;

import java.util.List;

import com.fuershiye.woman.monitor.beans.Page;
import com.fuershiye.woman.monitor.model.Bulletin;

/**
 * @author yongyongdong
 * 
 * 公告文章等
 *
 */
public interface BulletinService {

    public void save(Bulletin it);
    
    public void delete(Long id);
    
    public Bulletin get(Long id);
    
    /**
     * name为空查询所有,不为空模糊查询
     * @return
     */
    public List<Bulletin> listByCondition(String title, Integer type, Integer status, Page page);
    
    public int countByCondition(String title, Integer type, Integer status);
    
}
